//
//  NRWCarDetailictureCell.m
//  NRWMall
//
//  Created by 张记 on 2018/5/22.
//  Copyright © 2018年 com.anpxd. All rights reserved.
//

#import "NRWCarDetailictureCell.h"

@interface NRWCarDetailictureCell ()
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UIImageView *carImage;

@end


@implementation NRWCarDetailictureCell

- (void)awakeFromNib {
    [super awakeFromNib];
}
-(void)setImageModel:(CarCarimages *)imageModel{
    self.nameLabel.text = imageModel.imageName;
    [self.carImage sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@%@",imageApi(),imageModel.imageUrl]] placeholderImage:[UIImage imageNamed:@"default_banner"]];
}
@end
